home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / jam / jamdisk7 / inc9110b.lzh / include / errno.h < prev    next >
C/C++ Source or Header  |  1990-04-22  |  1KB  |  37 lines

  1. /*
  2.  * Libraries and headers for PDC release 3.3 (C) 1989 Lionel Hummel.
  3.  * PDC Software Distribution (C) 1989 Lionel Hummel and Paul Petersen.
  4.  * PDC I/O Library (C) 1987 by J.A. Lydiatt.
  5.  *
  6.  * This code is freely redistributable upon the conditions that this 
  7.  * notice remains intact and that modified versions of this file not
  8.  * be included as part of the PDC Software Distribution without the
  9.  * express consent of the copyright holders.  No warrantee of any
  10.  * kind is provided with this code.  For further information, contact:
  11.  *
  12.  *  PDC Software Distribution    Internet:                     BIX:
  13.  *  P.O. Box 4006             or hummel@cs.uiuc.edu            lhummel
  14.  *  Urbana, IL  61801-8801       petersen@uicsrd.csrd.uiuc.edu
  15.  */
  16.  
  17. /*    errno.h    
  18.  *    Symbolic names for system error conditions
  19.  */
  20.  
  21. #define EOK     0       /* No error */
  22. #define ENOMEM    1    /* Terminated due to failed AllocMem() */
  23. #define EINVAL    2    /* Invalid argument */
  24. #define EBADF    3    /* Bad file descriptor given */
  25. #define EEXIST    4    /* File exists */
  26. #define EMFILE    5       /* Too many open files */
  27. #define ENOENT  6       /* No such file or directory */
  28. #define EIO     7       /* I/O error */
  29. #define EBADDESIGN 255  /* Sometimes this is the REAL error :-) */
  30.  
  31. /* math library */
  32. #define EDOM    8
  33. #define ERANGE  9
  34.  
  35. extern int    errno;
  36. extern char    *sys_errlist[];
  37. extern int      sys_nerr;